
<?

$path = str_replace(DATA_PATH, '', $this->article['mediauri']);
$pic  = str_replace(DATA_PATH, '', $this->article['imageuri']);


?>

<center>
<video width="<?= VIDEO_WIDTH ?>" height="<?= VIDEO_WIDTH * 0.666 ?>" controls="controls" src="<?= $path ?>" >
  
Your browser does not support the video tag.
</video> 

</center>

 


		
<div class="box-white">
					
<p>

<label for="drp">Video</label>
<select id="drp" onchange="location.href='<?= $this->url (array('id'=>NULL)) ?>/id/'+this.value">

<? for ($x=0;$x<sizeof($this->files);$x++):
    $item = $this->files[$x]; ?>

<option value="<?= $item['articleid'] ?>"
<? if ($item['articleid']==$this->article['articleid']): ?> 
selected
<? endif ?>
><?= deSubject(html_entity_decode($item['subject'])) ?></option>

<? endfor ?>
</select>
</p>
				
</div>

<p class="note" id="p.subject">
<?= $this->article['subject'] ?>
</p>
